home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMNSHTMLFormElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  98 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMNSHTMLFormElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMNSHTMLFormElement_h__
  6. #define __gen_nsIDOMNSHTMLFormElement_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMNSHTMLFormElement */
  19. #define NS_IDOMNSHTMLFORMELEMENT_IID_STR "a6cf90c6-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMNSHTMLFORMELEMENT_IID \
  22.   {0xa6cf90c6, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMNSHTMLFormElement : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNSHTMLFORMELEMENT_IID)
  29.  
  30.   /* attribute DOMString encoding; */
  31.   NS_IMETHOD GetEncoding(nsAString & aEncoding) = 0;
  32.   NS_IMETHOD SetEncoding(const nsAString & aEncoding) = 0;
  33.  
  34. };
  35.  
  36. /* Use this macro when declaring classes that implement this interface. */
  37. #define NS_DECL_NSIDOMNSHTMLFORMELEMENT \
  38.   NS_IMETHOD GetEncoding(nsAString & aEncoding); \
  39.   NS_IMETHOD SetEncoding(const nsAString & aEncoding); 
  40.  
  41. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  42. #define NS_FORWARD_NSIDOMNSHTMLFORMELEMENT(_to) \
  43.   NS_IMETHOD GetEncoding(nsAString & aEncoding) { return _to GetEncoding(aEncoding); } \
  44.   NS_IMETHOD SetEncoding(const nsAString & aEncoding) { return _to SetEncoding(aEncoding); } 
  45.  
  46. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  47. #define NS_FORWARD_SAFE_NSIDOMNSHTMLFORMELEMENT(_to) \
  48.   NS_IMETHOD GetEncoding(nsAString & aEncoding) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEncoding(aEncoding); } \
  49.   NS_IMETHOD SetEncoding(const nsAString & aEncoding) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEncoding(aEncoding); } 
  50.  
  51. #if 0
  52. /* Use the code below as a template for the implementation class for this interface. */
  53.  
  54. /* Header file */
  55. class nsDOMNSHTMLFormElement : public nsIDOMNSHTMLFormElement
  56. {
  57. public:
  58.   NS_DECL_ISUPPORTS
  59.   NS_DECL_NSIDOMNSHTMLFORMELEMENT
  60.  
  61.   nsDOMNSHTMLFormElement();
  62.  
  63. private:
  64.   ~nsDOMNSHTMLFormElement();
  65.  
  66. protected:
  67.   /* additional members */
  68. };
  69.  
  70. /* Implementation file */
  71. NS_IMPL_ISUPPORTS1(nsDOMNSHTMLFormElement, nsIDOMNSHTMLFormElement)
  72.  
  73. nsDOMNSHTMLFormElement::nsDOMNSHTMLFormElement()
  74. {
  75.   /* member initializers and constructor code */
  76. }
  77.  
  78. nsDOMNSHTMLFormElement::~nsDOMNSHTMLFormElement()
  79. {
  80.   /* destructor code */
  81. }
  82.  
  83. /* attribute DOMString encoding; */
  84. NS_IMETHODIMP nsDOMNSHTMLFormElement::GetEncoding(nsAString & aEncoding)
  85. {
  86.     return NS_ERROR_NOT_IMPLEMENTED;
  87. }
  88. NS_IMETHODIMP nsDOMNSHTMLFormElement::SetEncoding(const nsAString & aEncoding)
  89. {
  90.     return NS_ERROR_NOT_IMPLEMENTED;
  91. }
  92.  
  93. /* End of implementation class template. */
  94. #endif
  95.  
  96.  
  97. #endif /* __gen_nsIDOMNSHTMLFormElement_h__ */
  98.